home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _1C10052FB63A49D8AEB0716BB03C5D8F < prev    next >
Encoding:
Text File  |  2005-11-24  |  1.2 KB  |  68 lines

  1. Shader()
  2. {// >=gf 3
  3.     SurfaceID(SRFTYPE)
  4.     NoLightmaps()
  5.     sortweight("blended_alphatest")
  6.     Shaderquality(3)
  7.     Cull("cw")
  8.     Pass()
  9.     {
  10.         Pixelshader("CO.psh")
  11.  
  12.         !include("__Tex1.mtt")
  13.         !include("__Clouds.mtt")
  14.  
  15.         AlphaFunc( "gequal", 128 )
  16.     }
  17. }
  18.  
  19. Shader()
  20. {// >=gf 3
  21.     SurfaceID(SRFTYPE)
  22.     NoLightmaps()
  23.     sortweight("blended_alphatest")
  24.     Shaderquality(1)
  25.     Cull("cw")
  26.     Pass()
  27.     {
  28.         Pixelshader("O.psh")
  29.  
  30.         !include("__Tex1.mtt")
  31.  
  32.         AlphaFunc( "gequal", 128 )
  33.     }
  34. }
  35.  
  36. Shader()
  37. {//gf2
  38.     SurfaceID(SRFTYPE)
  39.     NoLightmaps()
  40.     sortweight("blended_alphatest")
  41.     Cull("cw")
  42.     Pass()
  43.     {
  44.  
  45.         tmu()
  46.         {
  47.             ColorOp("mul", "tfactor", "tfactor_a", "current")
  48.  
  49.         }
  50.  
  51.         tmu()
  52.         {
  53.             Texture()
  54.             {
  55.                 Mapchannel(0)
  56.                 Image(TEXTURE1)
  57.                 !include(TEX1OPTIONSFILE)
  58.             }
  59.             ColorOp("mul", "texture", "current", "current")
  60.             alphaop("mul2", "texture", "diffuse", "current")
  61.         }
  62.  
  63.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
  64.  
  65.         AlphaFunc( "gequal", 128 )
  66.     }
  67. }
  68.